package main

import (
	"fmt"
	"net/http"
	"itracer/apis"
)


func main() {
	fmt.Println("iTracker")
	fmt.Println("Hei,Modified[1]")
	fmt.Println("Hei,Modified[2]")
	fmt.Println("hei,Modified[3]")
	fmt.Println("Hei,Modified[4]")
	fmt.Println("Hei,Modified[5]")
	fmt.Println("Hei,Modified[6]")
	fmt.Println("Hei,Modified[7]")
	http.HandleFunc("/trackerservice/create", apis.HandleCreateTrackerService)
	http.HandleFunc("/trackerservice/update", apis.HandleUpdateTrackerServcie)
	http.HandleFunc("/trackerservice/info", apis.HandleTrackerServiceInfo)
	err := http.ListenAndServe(":9527", nil)
	if err != nil {
		fmt.Println("iTracker start error")
	}
}
